// confirm 弹窗
.ant-modal-confirm{
  .ant-modal-body {
    padding: 0 0 10px!important;
  }
  .confirm-modal-title {
    .modal-title
  }
  .confirm-modal-content {
    padding: 20px 20px 0;
    display: flex;
    align-items: center;
    .anticon-exclamation-circle {
      color: @tipColor;
      font-size: 24px;
      margin-right: 10px;
    }
  }
  .ant-modal-confirm-btns {
    margin-right: 20px;
  }
}
.modal-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  padding: 0 20px;
  background-color: @modalHeadBg;
  border-bottom: 1px solid @dividerColor;
  font-size: 14px;
  >div { 
    &:first-child {
      font-weight: bolder;
      color: @text-color!important;
    }
  }
}
// 弹窗样式
.common-modal , .common-modal1{
  .ant-modal-body {
    padding: 0px;
  }
  .ant-picker {
    width: 100%;
  }
  .upload-tip {
    color: @lighterColor;
    font-size: 12px;
    margin-top: 10px;
  }
  .common-modal-content {
    padding: 20px 0 0 20px;
    .ant-input-number {
      width: 100% !important;
    }
    section {
      padding-right: 20px;
      display: flex;
      >div {
        line-height: 1;
        &:first-child {
          width: 26px;
          font-size: 24px;
          color: @tipColor;
        }
        &:last-child {
          flex: 1;
          padding-left: 8px;
          line-height: 24px;
        }
      }
    }
  }
  .common-modal-footer {
    padding: 0 20px;
    text-align: right;
    line-height: 57px;
    margin-bottom: 0;
    border-top: 1px solid @dividerColor;
    .ant-btn {
      margin-left: 10px;
    }
  }
  .modal-table {
    td {
      .ant-select {
        min-width: 100%!important;
        width: 100%;
      }
    }
  }
}
.common-modal1 {
  .ant-modal-header {
    padding: 0px 20px;
  }
  .ant-tabs-nav-wrap {
    height: 40px;
  }
  .ant-modal-title {
    .ant-tabs-nav {
      margin-bottom: 0;
    }
  }
}
.common-modal-footer1 {
  padding: 0 20px;
  height: 57px;
  border-top: 1px solid @dividerColor;
  display: flex;
  justify-content: space-between;
  align-items: center;
  .ant-btn {
    margin-left: 10px;
  }
}
.sync-data-modal {
  .ant-modal-content {
    background: transparent!important;
    box-shadow: none;
  }
}
.search-more-box {
  .list-operate3 {
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    &.show-more {
      margin-top: 20px;
      border-top: 1px solid @dividerColor;
      padding-top: 20px;
    }
    .operate-left {
      .ant-btn {
        min-width: 65px;
        margin-right: 10px;
      }
    }
    .operate-right {
      display: flex;
      .slot-operate-right {
        display: flex;
        .ant-select-selector {
          min-width: 120px;
        }
        .ant-form-inline {
          .ant-form-item{
            margin-bottom: 10px;
          }
        }
      }
    }
  }
}
.custom-table {
  .search-more-box;
}
.custom-table-popover {
  .ant-checkbox-group {
    .ant-checkbox-wrapper + .ant-checkbox-wrapper {
      margin-left: 0px;
    }
  }  
}
.to-fix-icon-container {
  .to-fix-icon {
    visibility: hidden;
    color: #999999;
    >span { 
      &:hover {
        cursor: pointer;
        color: @primaryColor;
      }
    }
  }
  &:hover {
    .to-fix-icon {
      visibility: visible;
    }
  }
}
// .to-fix-icon {
//   >span { 
//     &:hover {
//       cursor: pointer;
//       color: @primaryColor;
//     }
//   }
// }
.custom-table-mover {
  &:hover {
    cursor: move;
  }
}
.custom-table-chosen {
  background-color: #EAF6FF!important;
}
.custom-table-ghost {
  background-color: #D0E5FF!important;
}
.ant-table {
  .ant-table-cell {
    .ant-btn {
      height: 22px;
    }
  }
}

.header-more-card{
  //.ant-card-bordered
  height: 440px;
  overflow-y: scroll;
  border-top-color: #FFFFFF;
  margin-top: 0;

  .ant-card-body {
    padding: 0 20px 20px 20px;

    .ant-card-bordered{
      margin-bottom: 20px;
      .ant-card-head{
        background:#F6F6F7 ;
        padding: 0 20px;
        .ant-card-head-title{
          padding: 0 0;
        }
        .ant-card-head-wrapper{
          height: 48px;
        }
      }
      .ant-card-body{
        //padding: 20px 20px 20px 20px;
        background: #FFFFFF !important;
        padding: 0;
        .ant-card-bordered{
          border:1px solid #DDDDDD;
        }
        .header-more-card-child{
          width: 100%;
          margin: 20px;
          >div{
            &:nth-child(1){
              margin-top: 0;
            }
            &:nth-child(2){
              margin-top: 0;
            }
            margin-top: 8px;
            display: inline-block;
            width: 50%;
          }
        }
      }

    }

  }

}
/**仿真路线图*/
.rightTree {
  padding-left: 20px;
  height: 100%;

  .title {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: normal;
    color: #333333;

    &::before {
      display: inline-block;
      margin: auto 8px auto 0;
      content: "";
      width: 4px;
      height: 16px;
      background: #3e8ff7;
      border-radius: 2px;
      opacity: 1;
    }
  }
  .treeShow {
    height: 500px;
    overflow: auto;
  }
  .ant-tree-switcher {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .ant-tree-treenode {
    width: 100%;
    display: flex;
    align-items: center;
  }
  .ant-tree-node-content-wrapper {
    width: 80%;
  }
  .ant-tree-title {
    display: flex;
    align-items: center;
  }
  .treeItem {
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    line-height: 32px;
    height: 32px;
    span:nth-of-type(1) {
      white-space: nowrap;
      // display: block;
      overflow: hidden;
      text-overflow: ellipsis;
      margin-right: 2px;
    }
  }
  .treeSelect {
    display: inline-block;
    height: 32px;
    min-width: 80px;
  }
}
/**下拉筛选框*/
.filter-dropdown {
  
  .ant-checkbox-group {
    display: flex;
    flex-direction: column;
    max-height: 200px;
    overflow-y: scroll;

    .ant-checkbox-wrapper {
      margin: 2px 0px;
    }
  }
}